package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author longyang
 * @since 2022-01-13
 */
public interface IAdminService extends IService<Admin> {
    //登录
    Admin selectAdmin(Admin admin);
    //查询
    List<Admin> selectAdminAll();
    //添加
    Integer addAdmin(Admin admin);
    //删除
    Integer deleteAdmin(Integer id);
    //根据id查询
    Admin selcetAdminById(Integer id);
    //修改
    Integer updateAdmin(Admin admin);
}
